﻿<%@ Page Language="C#" UICulture="fr" Culture="fr-FR" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" Title="SodevlogLogin - Gestion des Utilisateurs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Main" Runat="Server">
    <table class="TableStyle">
        <tr>
            <td colspan="2" class="TitleTextStyle" width="20" style="height: 25px">
            <asp:Literal runat="server" Text="<%$ Resources:labels, TitrePage %>" />&nbsp;<asp:LoginName CssClass="LoginNameStyle" Font-Size="8pt" ID="LoginName1" runat="server" /></td>
        </tr>
        <tr>
            <td align="right" width="200">
                <asp:Label ID="LabelLoginView" CssClass="LabelStyle" runat="server"></asp:Label>&nbsp;</td>
            <td width="350">
                <asp:LoginView ID="LoginView1" runat="server">
                    <AnonymousTemplate>
                        <p class="LoginNameStyle"><asp:Literal runat="server" Text="<%$ Resources:labels, AnonymeText %>" />
                    </AnonymousTemplate>
                    <LoggedInTemplate>
                        <p class="LabelStyleNoHeight"><asp:Literal runat="server" Text="<%$ Resources:labels, BonjourText %>" />
                        <asp:LoginName ID="LoginName2" runat="server" CssClass="LoginNameStyle">
                        </asp:LoginName>
                        <asp:Literal runat="server" Text="<%$ Resources:labels, AuthentifieText %>" />
                        </p>
                    </LoggedInTemplate>
                    <RoleGroups>
                        <asp:RoleGroup Roles="Administrateur">
                            <ContentTemplate>
                                <p class="LabelStyleNoHeight">
                                <asp:LoginName CssClass="LoginNameStyle" id="LoginName3" runat="Server"></asp:LoginName>
                                <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:labels, AuthentifieAdmin %>" />
                            </ContentTemplate>
                        </asp:RoleGroup>
                        <asp:RoleGroup Roles="Editeur">
                            <ContentTemplate>
                                <p class="LabelStyleNoHeight">
                                <asp:LoginName CssClass="LoginNameStyle" id="LoginName3" runat="Server"></asp:LoginName>
                                <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:labels, AuthentifieEditeur %>" />
                            </ContentTemplate>
                        </asp:RoleGroup>
                        <asp:RoleGroup Roles="Amis">
                            <ContentTemplate>
                                <p class="LabelStyleNoHeight">
                                <asp:LoginName CssClass="LoginNameStyle" id="LoginName3" runat="Server"></asp:LoginName>
                                <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:labels, AuthentifieAmi %>" />
                            </ContentTemplate>
                        </asp:RoleGroup>
                    </RoleGroups>
                </asp:LoginView>
            </td>
        </tr>
        <tr>
            <td align="right" width="200">
                <asp:Label CssClass="LabelStyle" ID="LabelLoginStatus" runat="server"></asp:Label>&nbsp;
            </td>
            <td width="350">
                <asp:LoginStatus CssClass="LoginStatusStyle" ID="LoginStatus1" runat="server" LoginText="<%$ Resources:labels, LoginText %>" LogoutText="<%$ Resources:labels, LogoutText %>" />
            </td>
        </tr>
        <tr>
            <td align="right" style="height: 21px" width="200">
                &nbsp;
            </td>
            <td style="height: 21px" width="350">
                
            </td>
        </tr>
        <tr>
            <td class="TdHyperLink" colspan="3">
                <table cellpadding="0" border="0" cellspacing="0">
                    <tr>
                    <td style="width:40%">
                        <asp:HyperLink ID="HyperLinkEnregistrezUtilisateur" CssClass="HyperLinkAccueilStyle" runat="server" NavigateUrl="~/CreateUserWizardPage.aspx" Text="<%$ Resources:labels, HyperLinkEnregistrezUtilisateur %>" /><br />
                        <asp:HyperLink ID="HyperLinkPageSecurisee" CssClass="HyperLinkAccueilStyle" runat="server" Text="<%$ Resources:labels, HyperLinkPageSecurisee %>" /><br />
                        <asp:HyperLink ID="HyperLinkAide" CssClass="HyperLinkAccueilStyle" runat="server" NavigateUrl="~/Aide.aspx" Text="<%$ Resources:labels, HyperLinkAide %>" /><br />
                    </td>
                    <td style="width:40%" align="right">
                        <asp:HyperLink ID="HyperLinkChangePassword" CssClass="HyperLinkAccueilStyle" runat="server" Visible="false"></asp:HyperLink>
                        <asp:HyperLink ID="HyperLinkCreateRole" CssClass="HyperLinkAccueilStyle" runat="server" Visible="false"></asp:HyperLink>
                        <asp:HyperLink ID="HyperLinkEditProfile" CssClass="HyperLinkAccueilStyle" runat="server" Visible="false"></asp:HyperLink>
                      </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>

